package cn.edu.zut.hhr.utils;

import org.springframework.util.DigestUtils;


public class MD5Util {

    private static final String salt = "@#ae4*";

    public static String encrypt(String password){
        return DigestUtils.md5DigestAsHex((DigestUtils.md5DigestAsHex(password.getBytes()) + salt).getBytes());
    }

}
